//
//  YXPopupListView.h
//  YXPopList_Example
//
//  Created by GMS on 2020/5/15.
//  Copyright © 2020 Arthur. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^CallBack) (id model);

@interface YXPopupListView : UIView

@property (nonatomic,copy) CallBack callBack;

/// 展示view弹窗
/// @param dataArray 接收到的数据
/// @param point 要显示的位置
+ (instancetype)showWithArray:(NSArray *)dataArray withTableViewRect:(CGRect)rect andCallBack:(CallBack)callBack;

@end

NS_ASSUME_NONNULL_END
